public class Dog extends Animal{
     public void bark(){
         System.out.println(this.name+"在狗叫。。。");
     }

//    public Dog(String name, int age, String color) {
//        super();
//    }

    public void eat(){
         System.out.println(this.name+"在吃狗粮。。。");
     }

    public static void main(String[] args) {
        Dog dog=new Dog();
        dog.name="小黄";
        dog.age=8;
    }
}
